Use ::class to resolve class names in tests
[lhc/web/wiklou.git] / tests / phpunit / includes / registration / VersionCheckerTest.php
index 15d0c2b..6f0de16 100644 (file)
@@ -111,7 +111,7 @@ class VersionCheckerTest extends PHPUnit_Framework_TestCase {
                                ],
                        ] );
 
-               $this->setExpectedException( 'UnexpectedValueException' );
+               $this->setExpectedException( UnexpectedValueException::class );
                $checker->checkArray( [
                        'FakeExtension' => [
                                'FakeDependency' => 'not really valid',